package com.ruoyi.classai.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.classai.mapper.EwcSchoolMapper;
import com.ruoyi.classai.domain.EwcSchool;
import com.ruoyi.classai.service.IEwcSchoolService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.Map;

/**
 * 学校信息Service业务层处理
 * 
 * @author lcj
 * @date 2025-02-27
 */
@Service
public class EwcSchoolServiceImpl extends ServiceImpl<EwcSchoolMapper, EwcSchool> implements IEwcSchoolService {

    @Autowired
    private  EwcSchoolMapper schoolMapper;

    @Override
    public List<Map<String, Integer>> countSchoolType() {
        return schoolMapper.countSchoolType();
    }

    @Override
    public List<Map<String, Integer>> countSchoolCity() {
        return schoolMapper.countSchoolCity();
    }
}
